package com.lianxueda.drawing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lianxueda.drawing.domain.dto.CourseQueryDTO;
import com.lianxueda.drawing.domain.pojo.Courses;
import com.lianxueda.drawing.domain.vo.PageVO;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 29264
* @description 针对表【courses】的数据库操作Service
* @createDate 2024-08-16 14:33:13
*/
@Service
public interface CoursesService extends IService<Courses> {

    PageVO searchPage(CourseQueryDTO courseQueryDTO);

    Courses getCoursesById(Integer id);

    List<Courses> selectCourseByIds(List<Integer> courseIds);


    Integer getCourseIdByName(String name);

    List<Courses> selectCourseById(Integer classId);



    List<Courses> getAllCoursesWithSchedules();

    List<Courses> selectCoursesByIds(List<Integer> coursesIdList);


}
